#ifndef __FAN_DEVICE_H__
#define __FAN_DEVICE_H__

#include "main.h"

#define FAN_ON    0
#define FAN_OFF   1


typedef struct FanDevice {
	char *name;
	int (*Init)(struct FanDevice *pDev);
	int (*Ctrl)(struct FanDevice *pDev, int status);	
}fanDevice, *pFanDevice;

pFanDevice GetFanDevice(char *name);

#endif 
